<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
    
    <div class="title">订单管理</div>
    
     
  </div>
 
<div class="row">
 {include file="koudai_dz/nav.html"}
 <div class="market_tabs">
    		<div class="first_item">共{$rscount}笔</div>
         
        	<ul class="last_item">
              <li class="b3"><a href="{$baseurl}&orderby=id&index={if get('orderby') eq 'id' && get('index') eq 'asc'}desc{else}asc{/if}" class="{if get('orderby') eq 'id'}cur{/if}">时间</a></li>
              <li class="b2"><i class="ico top  {if get('index') eq 'asc'}cur{/if}"></i><br>
                <i class="ico bot {if get('index') eq 'desc'}cur{/if}"></i></li>
              <li class="b1"><a href="{$baseurl}&orderby=sushe&index={if get('orderby') eq 'sushe' && get('index') eq 'desc'}asc{else}desc{/if}" class="{if get('orderby') eq 'sushe'}cur{/if}">寝室号</a></li>
            </ul>
         
    </div>
  {foreach item=sc key=scid from=$scorder}
  <div class="kdhd">{$sitecitys[$sitecitys[$scid][pid]][title]}</div>
  {foreach item=c from=$sc.order}
  <table class="kdtable" onClick="window.location='{$appkoudai}?m=koudai_dz&a=show&id={$c.id}'">
    <tr >
      <td class="kl">个人</td>
      <td class="km">
      	<div class="pd">
      <div class="hd"> 
      	<span class="left">{$c[address].p_c_t}-{$c[address].sushe}寝室</span> 
      	<span class="right">5天未对账</span> 
      </div>
        <div class="row h25"> 结算商品共<span class="cor1">{$c.jsnum}</span>件 <span class="right">合计 ￥<span class="cor1">{$c.jsmoney}</span></span>   </div>
        <div class="row h25"> 退货商品共<span class="cor1">{$c.gznum}</span>件 <span class="right"> 合计 ￥<span class="cor1">{$c.gzmoney}</span></span> </div>
       
         
       
        </td>
      <td class="kr">&gt</td>
    </tr>
  </table>
  {/foreach}
  {/foreach}
  {$pagelist} 
 
 
 
<script>
$(function(){
	
	$("#showSearch").on(CLICK,function(){
		$("#searchBox").toggle();
	});
	
	$(".getDz").on("click",function(){
		var obj=$(this);
		$.get($(this).attr("url"),function(data){
			if(data.error){
				skyToast(data.message);
				obj.parents(".item").remove();
			}else{
				obj.parents(".item").remove();
				skyToast(data.message);
			}
		},"json");
	});
	
})
</script>
 {assign var="botnav" value="koudai_dz"}
{include file="footer.html"}
 